package top.lyjwn.todo.resources.data;
// Generated 2019-7-28 15:02:44 by Hibernate Tools 5.1.8.Final

import org.springframework.beans.factory.annotation.Value;

import java.util.Date;


public class FileResource implements java.io.Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = -1021348161339888093L;
	private String fileName;
	private byte[] fileResource;
	private Date createTime;
	private Date updateTime;
	private Boolean isPublic;
	private String referUsers;

	public FileResource() {
	}

	public FileResource(String fileName) {
		this.fileName = fileName;
	}

	public FileResource(String fileName, byte[] fileResource, Date createTime, Date updateTime, Boolean isPublic,
			String referUsers) {
		this.fileName = fileName;
		this.fileResource = fileResource;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.isPublic = isPublic;
		this.referUsers = referUsers;
	}


	public String getFileName() {
		return this.fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public byte[] getFileResource() {
		return this.fileResource;
	}

	public void setFileResource(byte[] fileResource) {
		this.fileResource = fileResource;
	}

	public Boolean isPublic() {
		return isPublic;
	}

	public void setPublic(Boolean isPublic) {
		this.isPublic = isPublic;
	}

	public String getReferUsers() {
		return referUsers;
	}

	public void setReferUsers(String referUsers) {
		this.referUsers = referUsers;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
